import { createAPI, createFormAPI } from '@/utils/request'

export const login = data => createFormAPI('/frame/login', 'post', data)
export const insertUser = data => createAPI('/frame/register', 'post', data)
export const deleteUser = data => createAPI('/frame/register', 'post', data)
export const updateUser = data => createAPI('/frame/register', 'post', data)
export const selectUser = data => createAPI('/frame/register', 'post', data)
